//
//  DraftViewController.h
//  CharlesMVX
//
//  Created by Charles on 2020/3/11.
//  Copyright © 2020 Charles. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "UserAPIManager.h"
#import "DraftViewPresenter.h"

NS_ASSUME_NONNULL_BEGIN
@class Draft;
@interface DraftViewController : NSObject<UITableViewDelegate,UITableViewDataSource>

+ (instancetype)instanceWithPresenter:(DraftViewPresenter *)presenter;

- (UITableView *)tableView;
- (void)fetchDataWithCompletionHandler:(NetworkCompletionHandler)completionHander;

- (void)setDidSelectedRowHandler:(void (^)(Draft *))didSelectedRowHandler;

@end

NS_ASSUME_NONNULL_END
